package kr.or.javacafe.io;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class IOTestMain {
	public static void main(String[] args) {
		FileReadAndWrite frnw = new FileReadAndWrite();
//		frnw.readFile("hyunji.txt");
//		frnw.writeFile("hyunji.txt", "hj.txt");
		frnw.getHTTPText("http://www.krx.co.kr/popup/current_market_condition.jsp");
//		InputStreamReader isr = new InputStreamReader(System.in);
//		BufferedReader br = new BufferedReader(isr);
//		String str="";
//		try {
//			while ((str=br.readLine())!=null) {
//				System.out.println(str);
//			}
//			br.close();
//			isr.close();
//		} catch (IOException e) {
//			e.printStackTrace();
//		}
	}
}
